﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;

namespace ContraMetal
{
    public class Map
    {
        #region Variables
        Texture2D backgroud;
        Rectangle rectangleBG;
        #endregion

        #region Propiedades
        public Rectangle RectangleBG
        {
            get { return rectangleBG; }
            set { rectangleBG = value; }
        }
        #endregion

        #region Metodos
        public Map() { }

        public void Load(ContentManager Content) 
        {
            backgroud = Content.Load<Texture2D>("Images/backgroudCM");
            rectangleBG = new Rectangle(0, 0, 1811, 480);
        }

        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(backgroud, rectangleBG, Color.White);
        }
        #endregion
    }
}
